<{include file="fenzhan:common/header.html"}>
<div class="page-title">
	<table width="100%" align="center" cellpadding="0" cellspacing="0" >
		<tr>
			<td width="30" align="right"><img src="<{$pager.url}>/images/main-h5-ico.gif" alt="" /></td>
			<th><{$MOD.title}></th>
			<td align="right">
                <{link ctl="mechanic/mechanic:so" load="mini:搜索设计师" width="mini:500" class="button" title="搜索"}> &nbsp; &nbsp;
            </td>
			<td width="15"></td>
		</tr>
	</table>
</div>
<div class="page-data">	
	<form id="items-form">
    <table width="100%" border="0" cellspacing="0" class="table-data table">
    <tr>
        <th class="w-100">ID</th><th>名称</th><th>帐号</th><th class="w-50">城市</th><th class="w-100">电话</th>
        <th class="w-50">审核</th><th class="w-50">排序</th><th class="w-150">刷新时间</th><th class="w-150">操作</th>
    </tr>
    <{foreach $items as $item}>
    <tr>
    <tr><td><label><input type="checkbox" value="<{$item.uid}>" name="uid[]" CK="PRI"/><{$item.uid}><label></td>
        <td><{$item.name}></td>
        <td>                        
            <a ucard="@<{$item.uid}>"><b class="blue"><{$item.uname}>(金币：<{$item.gold}>)</b></a>&nbsp;&nbsp;
        </td>
        <td><{if $item.audit==1}><b class="blue">正常</b><{else}><b class="red">待审</b><{/if}></td> 
        <td><{$item.city_name}></td><td><{$item.mobile}></td><td><{$item.orderby}></td><td><{$item.lasttime|format}></td>        
        <td>
            <{link ctl="member/member:manager" args=$item.uid title="管理" class="button" target="member_manager"}>
            <{if $czjb_show == 1}><{link ctl="member/member:gold" args=$item.uid title="充值金币" load="mini:充值金币" width="mini:500" class="button"}><{/if}>
            <{link ctl="block/item:push" arg0='mechanic' arg1=$item.uid title="推送" load="mini:推送技工" class="button"}>
            <{link ctl="mechanic/mechanic:edit" args=$item.uid title="修改" class="button"}>
            <{link ctl="mechanic/mechanic:delete" args=$item.uid act="mini:删除" confirm="mini:确定要删除吗？" title="删除" class="button"}>
        </td>
    </tr>
    <{foreachelse}>
     <tr><td colspan="20"><p class="text-align tip-notice">没有数据</p></td></tr>
    <{/foreach}>
    </table>
	</form>
	<div class="page-bar">
		<table>
			<tr>
			<td class="w-100"><label><input type="checkbox" CKA="PRI"/>&nbsp;&nbsp;全选</label></td>
			<td colspan="10" class="left">
                <{link ctl="mechanic/mechanic:delete" type="button" submit="mini:#items-form" confirm="mini:确定要批量删除选中的内容吗?" priv="hide" value="批量删除"}>
                <{link ctl="block/item:batch" args='mechanic' type="button" load="mini:批量推荐技工" batch="mini:PRI" priv="hide" value="批量推荐"}>&nbsp;&nbsp;&nbsp;
                <{link ctl="mechanic/mechanic:doaudit" type="button" submit="mini:#items-form" confirm="mini:确定要批量审核选中的内容吗?" priv="hide" value="批量审核"}>
            </td>
			<td class="page-list"><{$pager.pagebar}></td>
		</tr>
		</table>
	</div>
</div>
<{include file="fenzhan:common/footer.html"}>